package lgkj.meicqt20.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by sxy on 2017/8/11.
 */

public class VideoTypeEntity implements Serializable {

    /**
     * status : 1
     * info : querry success
     * data : [{"type_list":[{"video_type_id":"20","parent_id":"19","video_type_name":"好莱坞大片"},{"video_type_id":"23","parent_id":"19","video_type_name":"美国大片"},{"video_type_id":"24","parent_id":"19","video_type_name":"国产大片"}],"type":{"video_type_id":"19","video_type_name":"电影"}},{"type_list":[{"video_type_id":"22","parent_id":"21","video_type_name":"国产电视剧"},{"video_type_id":"25","parent_id":"21","video_type_name":"美国电视剧"}],"type":{"video_type_id":"21","video_type_name":"电视剧"}},{"type_list":[{"video_type_id":"27","parent_id":"26","video_type_name":"国产动画片"}],"type":{"video_type_id":"26","video_type_name":"动画片"}}]
     */

    private int status;
    private String info;
    private List<DataBean> data;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * type_list : [{"video_type_id":"20","parent_id":"19","video_type_name":"好莱坞大片"},{"video_type_id":"23","parent_id":"19","video_type_name":"美国大片"},{"video_type_id":"24","parent_id":"19","video_type_name":"国产大片"}]
         * type : {"video_type_id":"19","video_type_name":"电影"}
         */

        private TypeBean type;
        private List<TypeListBean> type_list;

        public TypeBean getType() {
            return type;
        }

        public void setType(TypeBean type) {
            this.type = type;
        }

        public List<TypeListBean> getType_list() {
            return type_list;
        }

        public void setType_list(List<TypeListBean> type_list) {
            this.type_list = type_list;
        }

        public static class TypeBean {
            /**
             * video_type_id : 19
             * video_type_name : 电影
             */

            private String video_type_id;
            private String video_type_name;

            public String getVideo_type_id() {
                return video_type_id;
            }

            public void setVideo_type_id(String video_type_id) {
                this.video_type_id = video_type_id;
            }

            public String getVideo_type_name() {
                return video_type_name;
            }

            public void setVideo_type_name(String video_type_name) {
                this.video_type_name = video_type_name;
            }

            @Override
            public String toString() {
                return "TypeBean{" +
                        "video_type_id='" + video_type_id + '\'' +
                        ", video_type_name='" + video_type_name + '\'' +
                        '}';
            }
        }

        public static class TypeListBean {
            /**
             * video_type_id : 20
             * parent_id : 19
             * video_type_name : 好莱坞大片
             */

            private String video_type_id;
            private String parent_id;
            private String video_type_name;

            public String getVideo_type_id() {
                return video_type_id;
            }

            public void setVideo_type_id(String video_type_id) {
                this.video_type_id = video_type_id;
            }

            public String getParent_id() {
                return parent_id;
            }

            public void setParent_id(String parent_id) {
                this.parent_id = parent_id;
            }

            public String getVideo_type_name() {
                return video_type_name;
            }

            public void setVideo_type_name(String video_type_name) {
                this.video_type_name = video_type_name;
            }

            @Override
            public String toString() {
                return "TypeListBean{" +
                        "video_type_id='" + video_type_id + '\'' +
                        ", parent_id='" + parent_id + '\'' +
                        ", video_type_name='" + video_type_name + '\'' +
                        '}';
            }
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "type=" + type +
                    ", type_list=" + type_list +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "VideoTypeEntity{" +
                "status=" + status +
                ", info='" + info + '\'' +
                ", data=" + data +
                '}';
    }
}
